import { FC, useState } from 'react';
import { Card, Space, Carousel } from 'antd';

const index: FC = () => {

  return (
    <Space direction="vertical" style={{ width: "100%" }}>
      <Card title="轮播图">
        <Carousel autoplay effect="fade" className="carousel">
          <div>
            <h3 >1</h3>
          </div>
          <div>
            <h3 >2</h3>
          </div>
          <div>
            <h3 >3</h3>
          </div>
          <div>
            <h3 >4</h3>
          </div>
        </Carousel>
      </Card>

    </Space>
  );
}

export default index;